<div data-role="page" id="conversation-page">

  <div data-role="header" data-position="fixed" data-tap-toggle="false">
    <h1>Hội thoại</h1>
    <a href="" data-rel="back">Câu hỏi</a>
  </div>

  <div data-role="content">
   	<div class="triangle-right left">
   		
   		Làm thế nào để xây dựng Website
   	</div>
   	<div class="triangle-right right">
   		<div class="image-box">
   			<img src="/app/loading.png" width="200px" />
   		</div>
   		Thật là may mắn
   	</div>
   	<div class="triangle-right left">
   		Thanks
   </div>
   <% if @image %>
   <div class="triangle-right left">
   <% if @image.is_blob %>
<img id="new-picture" src="<%= Rho::RhoApplication::get_blob_path(@image.image_uri) %>" width="200" />
<% else %>
<img id="new-picture" src="<%= @image.image_data %>" width="200" />
<% end %>
</div>
<% end %>
  </div>
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
<% if @conversation.is_accepted %>
Câu hỏi này đã được đóng. <br />
Rating cho câu trả lời này: <%= @conversation.rating %>
<% else %>

<a href="" type="button" data-icon="gear" data-inline="true"
data-role="actionsheet" data-sheet='sheet1' data-iconpos="notext">Hello</a>
<textarea data-inline="true" data-theme="b"></textarea>
<input type="button" value="Gửi" />


      <div id="sheet1">
        <ul id="sizes_list_select" data-role="listview" data-inset="false" data-theme="a">
<% if @image.nil? %>
        <a href="/app/Student/take_picture" data-role="button">Chup anh</a>
        <a href="/app/Student/select_picture" data-role="button">Chon anh</a>
        <a data-role="button" href="/app/Student/handwriting">Vẽ hình</a>
<% else %>
        <a href="/app/Student/delete_image" data-role="button">Xoa hinh</a>
        <a href="/app/Student/handwriting" data-role="button">Sua hinh</a>
<% end %>
        <a href='#' data-rel='close' data-role="button">Đóng</a>
      </ul>
      </div>
  </div>
  
<% end %>
</div>

</div>
</div>
